package cc.admin.modules.wea.entity;

import java.util.Date;

import cn.hutool.core.util.IdUtil;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import cc.admin.poi.excel.annotation.Excel;

/**
 * @Description: 台风轨迹主表
 * @Author: cc-admin
 * @Date:   2024-09-04
 * @Version: V1.0.0
 */
@Data
@TableName("wea_typhoon_track")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="wea_typhoon_track_parent对象", description="台风轨迹主表")
public class WeaTyphoonTrack {

	/**编号*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
	private String id;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**事件编号*/
	@Excel(name = "事件编号", width = 15)
    @ApiModelProperty(value = "事件编号")
	private String eventId;

	public WeaTyphoonTrack() {}

	public WeaTyphoonTrack(String eventId) {
		this.id = IdUtil.fastUUID();
		this.eventId = eventId;
		this.createTime = new Date();
	}
}
